From: Eli Zaretskii Date: Sat, 26 Jun 2004 09:44:56 +0000 (+0000) Subject: (Man-getpage-in-background): Add windows-nt to the list X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21822 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d1aae700fec9274bc5fec7eb60636240cec5fa3c;p=emacs.git (Man-getpage-in-background): Add windows-nt to the list of systems where shell-file-name should be used instead of literal "sh". --- diff --git a/lisp/man.el b/lisp/man.el index 5a07045dda9..cbfae21e44b 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -733,7 +733,9 @@ all sections related to a subject, put something appropriate into the (if (fboundp 'start-process) (set-process-sentinel (start-process manual-program buffer - (if (eq system-type 'cygwin) shell-file-name "sh") + (if (memq system-type '(cygwin windows-nt)) + shell-file-name + "sh") shell-command-switch (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel)